.class Lcom/waiqin365/lightapp/kehu/b/av;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/b/am;

.field final synthetic b:Lcom/waiqin365/lightapp/kehu/b/at;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/b/at;Lcom/waiqin365/lightapp/kehu/b/am;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/b/av;->b:Lcom/waiqin365/lightapp/kehu/b/at;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kehu/b/av;->a:Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 10

    const/4 v9, 0x1

    const/4 v8, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/av;->b:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/b/at;->d(Lcom/waiqin365/lightapp/kehu/b/at;)Lcom/waiqin365/lightapp/kehu/b/aw;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/av;->b:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/b/at;->d(Lcom/waiqin365/lightapp/kehu/b/at;)Lcom/waiqin365/lightapp/kehu/b/aw;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightapp/kehu/b/aw;->a()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/av;->a:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/av;->a:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/b/av;->b:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/b/at;->d(Lcom/waiqin365/lightapp/kehu/b/at;)Lcom/waiqin365/lightapp/kehu/b/aw;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightapp/kehu/b/aw;->a()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/av;->a:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v8

    invoke-static {v1}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/b/av;->a:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v3, ","

    invoke-virtual {v2, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    aget-object v2, v2, v9

    invoke-static {v2}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v4

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v6

    sget v0, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v6, v7, v0}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    sget v1, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v2, v3, v1}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v1

    new-instance v2, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v8

    aget-wide v6, v0, v9

    invoke-direct {v2, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    new-instance v0, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v1, v8

    aget-wide v6, v1, v9

    invoke-direct {v0, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/b/av;->b:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/b/at;->b(Lcom/waiqin365/lightapp/kehu/b/at;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v2, v0, v1}, Lcom/waiqin365/compons/c/m;->a(Lcom/baidu/mapapi/model/LatLng;Lcom/baidu/mapapi/model/LatLng;Landroid/content/Context;)V

    :cond_0
    return-void
.end method
